/*********************************************************/
/*                                                       */
/* Warleague                                             */
/*                                                       */
/* menustate.h                                           */
/*                                                       */
/*********************************************************/
#ifndef __MENUSTATE_H__
#define __MENUSTATE_H__

/*********************************************************/
/* includes                                              */
/*********************************************************/
#include <SFML/Graphics.hpp>
#include "gamestate.h"
#include "button.h"

/*********************************************************/
/* class CMenuState                                      */
/*********************************************************/

class CMenuState : public CGameState
{
public:

    void Init();
    void Cleanup();

    void Pause();
    void Resume();

    void HandleEvents(CGameEngine* game);
    void Update(CGameEngine* game);
    void Draw(CGameEngine* game);

    void FadeOut(CGameEngine* game);

    static CMenuState* Instance()
    {
        return &m_MenuState;
    }

protected:
    CMenuState() { }

private:
    static CMenuState m_MenuState;
    CButton button_new;
    CButton button_load;
    CButton button_options;
    CButton button_quit;

}; /* end class CIntroStae */


#endif
